﻿<%@ Page Title="" Language="C#" MasterPageFile="~/PaginaMaestra.Master" AutoEventWireup="true" CodeBehind="MostrarPelicula.aspx.cs" Inherits="ProyectoCine.MostrarPelicula" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style13
        {
            width: 107px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Contenido" runat="server">
    <asp:Panel ID="panelPelicula" runat="server" Height="690px" ForeColor="Red" 
        GroupingText="Pelicula" Font-Bold="True">
        <table class="style1">
            <tr>
                <td class="style13">
                    <asp:Label ID="Label4" runat="server" Text="Nombre:"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblNombre" runat="server" Font-Bold="True" Font-Overline="False" 
                        ForeColor="Red" Text="Label"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style13">
                    <asp:Label ID="Label5" runat="server" Text="Sinopsis"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblSinopsis" runat="server" Font-Bold="True" ForeColor="Red" 
                        Text="Label"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style13">
                    <asp:Label ID="Label6" runat="server" Text="Actores:"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblInterpretes" runat="server" Font-Bold="True" ForeColor="Red" 
                        Text="Label"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style13">
                    <asp:Label ID="Label7" runat="server" Text="Director:"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblDirector" runat="server" Font-Bold="True" ForeColor="Red" 
                        Text="Label"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style13">
                    <asp:Label ID="Label8" runat="server" Text="Duracion:"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblDuracion" runat="server" Font-Bold="True" ForeColor="Red" 
                        Text="Label"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style13">
                    <asp:Label ID="Label9" runat="server" Text="País de Orígen:"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblPaisOrigen" runat="server" Font-Bold="True" ForeColor="Red" 
                        Text="Label"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style13">
                    <asp:Label ID="Label10" runat="server" Text="Año de Estreno:"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblAñoEstreno" runat="server" Font-Bold="True" ForeColor="Red" 
                        Text="Label"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style13">
                    <asp:Label ID="Label11" runat="server" Text="Genero:"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblGenero" runat="server" Font-Bold="True" ForeColor="Red" 
                        Text="Label"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style13">
                    <asp:Label ID="Label12" runat="server" Text="Calificación:"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lblClasificacion" runat="server" Font-Bold="True" 
                        ForeColor="Red" Text="Label"></asp:Label>
                </td>
            </tr>
        </table>
        <asp:Label ID="Label1" runat="server" Text="Horarios"></asp:Label>         
        <br />
        <asp:GridView ID="gvHorarios" runat="server" AutoGenerateColumns="False" 
            onselectedindexchanged="gvHorarios_SelectedIndexChanged" 
            AllowPaging="True" AllowSorting="True" 
            onpageindexchanging="gvHorarios_PageIndexChanging" 
            onsorting="gvHorarios_Sorting" BackColor="#DEBA84" BorderColor="#DEBA84" 
            BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2" 
            Height="16px" Width="300px">
            <Columns>
                <asp:BoundField DataField="nombre" HeaderText="Cine" SortExpression="nombre" />
                <asp:BoundField DataField="fecha" DataFormatString="{0:d}" HeaderText="Fecha" 
                    SortExpression="fecha" />
                <asp:BoundField DataField="horario_Inicio" DataFormatString="{0:t}" 
                    HeaderText="Horario" SortExpression="horario_Inicio" />
                <asp:CommandField SelectText="Reservar" ShowSelectButton="True" />
            </Columns>
            <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
            <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
            <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
            <RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
            <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#FFF1D4" />
            <SortedAscendingHeaderStyle BackColor="#B95C30" />
            <SortedDescendingCellStyle BackColor="#F1E5CE" />
            <SortedDescendingHeaderStyle BackColor="#93451F" />
        </asp:GridView>
        <br />
        <asp:Button ID="btnVolver" runat="server" Text="Volver" 
            onclick="btnVolver_Click" />
    </asp:Panel>
</asp:Content>
